public class demo30 {
    public static void main(String[] args) {
        Thread a=new Thread(()->{
            try {
                Thread.sleep(2000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.print(" a ");

        });
        Thread b=new Thread(()->{
            try {
                Thread.sleep(1000);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
            System.out.print(" b ");

        });
        Thread c=new Thread(()->{
            System.out.print(" c ");

        });
        a.start();
        b.start();
        c.start();

    }
}
